<!-- List Notifications -->
<g:if test="${company}">
  <g:set var="title" value="Notification List for ${company}" />
</g:if>
<g:else>
  <g:set var="title" value="List of All Notifications" />
</g:else>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="main" />
  <gui:resources components="dataTable"/>
  <title>${title}</title>
</head>
<body>
  <div class="body">
    <h1>${title}</h1>
    <g:render template="/common/flashMessage" />
    <g:render template="notificationList" model="[companyId:company?.id]"/>
    <tdcmw:linkButton action="create" params="[companyId:company?.id]" label="Create New Notification" />
  </div>
</body>
